Namespace Training1.Business
''' <summary>
''' Contains embedded schema and configuration data that is used by the 
''' <see cref="OwnerVehicleTable">Training1.OwnerVehicleTable</see> class
''' to initialize the class's TableDefinition.
''' </summary>
''' <seealso cref="OwnerVehicleTable"></seealso>

Public Class OwnerVehicleDefinition

#Region "Definition (XML) for OwnerVehicleDefinition table"
	'Next 75 lines contain Table Definition (XML) for table "OwnerVehicleDefinition"
	Private Shared _DefinitionString As String = _
"<XMLDefinition Generator=""Iron Speed Designer"" Version=""5.2"" Type=""GENERIC"">"& _
  "<ColumnDefinition>"& _
    "<Column InternalName=""0"" Priority=""1"" ColumnNum=""0"">"& _
      "<columnName>OwnerId</columnName>"& _
      "<columnUIName>Owner</columnUIName>"& _
      "<columnType>Number</columnType>"& _
      "<columnDBType>Long Integer</columnDBType>"& _
      "<columnLengthSet>10.0</columnLengthSet>"& _
      "<columnDefault></columnDefault>"& _
      "<columnDBDefault></columnDBDefault>"& _
      "<columnIndex>Y</columnIndex>"& _
      "<columnUnique>Y</columnUnique>"& _
      "<columnFunction>notrim</columnFunction>"& _
      "<columnDBFormat></columnDBFormat>"& _
      "<columnPK>Y</columnPK>"& _
      "<columnPermanent>N</columnPermanent>"& _
      "<columnComputed>N</columnComputed>"& _
      "<columnIdentity>N</columnIdentity>"& _
      "<columnReadOnly>N</columnReadOnly>"& _
      "<columnRequired>Y</columnRequired>"& _
      "<columnNotNull>Y</columnNotNull>"& _
      "<columnVisibleWidth>%ISD_DEFAULT%</columnVisibleWidth>"& _
      "<columnTableAliasName></columnTableAliasName>"& _
      "<foreignKey>"& _
        "<columnFKName>OwnerOwnerVehicle</columnFKName>"& _
        "<columnFKTable>Training1.Business.OwnerTable, App_Code</columnFKTable>"& _
        "<columnFKOwner></columnFKOwner>"& _
        "<columnFKColumn>Id</columnFKColumn>"& _
        "<columnFKColumnDisplay>OwnerName</columnFKColumnDisplay>"& _
        "<foreignKeyType>Explicit</foreignKeyType>"& _
      "</foreignKey>"& _
    "</Column>"& _
    "<Column InternalName=""1"" Priority=""2"" ColumnNum=""1"">"& _
      "<columnName>VehicleTypeId</columnName>"& _
      "<columnUIName>Vehicle Type</columnUIName>"& _
      "<columnType>Number</columnType>"& _
      "<columnDBType>Long Integer</columnDBType>"& _
      "<columnLengthSet>10.0</columnLengthSet>"& _
      "<columnDefault></columnDefault>"& _
      "<columnDBDefault></columnDBDefault>"& _
      "<columnIndex>Y</columnIndex>"& _
      "<columnUnique>Y</columnUnique>"& _
      "<columnFunction>notrim</columnFunction>"& _
      "<columnDBFormat></columnDBFormat>"& _
      "<columnPK>Y</columnPK>"& _
      "<columnPermanent>N</columnPermanent>"& _
      "<columnComputed>N</columnComputed>"& _
      "<columnIdentity>N</columnIdentity>"& _
      "<columnReadOnly>N</columnReadOnly>"& _
      "<columnRequired>Y</columnRequired>"& _
      "<columnNotNull>Y</columnNotNull>"& _
      "<columnVisibleWidth>%ISD_DEFAULT%</columnVisibleWidth>"& _
      "<columnTableAliasName></columnTableAliasName>"& _
      "<foreignKey>"& _
        "<columnFKName>VehicleTypeOwnerVehicle</columnFKName>"& _
        "<columnFKTable>Training1.Business.VehicleTypeTable, App_Code</columnFKTable>"& _
        "<columnFKOwner></columnFKOwner>"& _
        "<columnFKColumn>Id</columnFKColumn>"& _
        "<columnFKColumnDisplay>Make</columnFKColumnDisplay>"& _
        "<foreignKeyType>Explicit</foreignKeyType>"& _
      "</foreignKey>"& _
    "</Column>"& _
  "</ColumnDefinition>"& _
  "<TableName>OwnerVehicle</TableName>"& _
  "<Version></Version>"& _
  "<Owner></Owner>"& _
  "<TableCodeName>OwnerVehicle</TableCodeName>"& _
  "<TableAliasName>OwnerVehicle_</TableAliasName>"& _
  "<ConnectionName>DatabaseTrainingSouthwind.mdb1</ConnectionName>"& _
  "<canCreateRecords Source=""Database"">Y</canCreateRecords>"& _
  "<canEditRecords Source=""Database"">Y</canEditRecords>"& _
  "<canDeleteRecords Source=""Database"">Y</canDeleteRecords>"& _
  "<canViewRecords Source=""Database"">Y</canViewRecords>"& _
  "<AppShortName>Training1</AppShortName>"& _
"</XMLDefinition>"
#End Region
	
	''' <summary>
	''' Gets the embedded schema and configuration data for the  
	''' <see cref="OwnerVehicleTable"></see>
	''' class's TableDefinition.
	''' </summary>
	''' <remarks>This function is only called once at runtime.</remarks>
	''' <returns>An XML string.</returns>
	Public Shared Function GetXMLString() As String
		Return _DefinitionString
	End Function

End Class
End Namespace
